package com.we.risk.plist;

import java.util.ArrayList;

public class AppApkObject {
    public String app_apk;
    public String inst_h_part;
    public String updt_h_part;
    public Integer inst_day;
    public Integer inst_day_cmp_hfq;
    public Integer updt_day;
    public Integer inst_mth;
    public Integer updt_mth;
    public ArrayList<String> cate_tag;
    public String inst_hfq_tag;

    public AppApkObject(
            String app_apk,
            String inst_h_part,
            String updt_h_part,
            Integer inst_day,
            Integer inst_day_cmp_hfq,
            Integer updt_day,
            Integer inst_mth,
            Integer updt_mth,
            ArrayList<String> cate_tag,
            String inst_hfq_tag) {
        this.app_apk = app_apk;
        this.inst_h_part = inst_h_part;
        this.updt_h_part = updt_h_part;
        this.inst_day = inst_day;
        this.inst_day_cmp_hfq = inst_day_cmp_hfq;
        this.updt_day = updt_day;
        this.inst_mth = inst_mth;
        this.updt_mth = updt_mth;
        this.cate_tag = cate_tag;
        this.inst_hfq_tag = inst_hfq_tag;
    }

    public String getApp_apk() {
        return app_apk;
    }

    public String getInst_h_part() {
        return inst_h_part;
    }

    public String getUpdt_h_part() {
        return updt_h_part;
    }

    public Integer getInst_day() {
        return inst_day;
    }

    public Integer getInst_day_cmp_hfq() {
        return inst_day_cmp_hfq;
    }

    public Integer getUpdt_day() {
        return updt_day;
    }

    public Integer getInst_mth() {
        return inst_mth;
    }

    public Integer getUpdt_mth() {
        return updt_mth;
    }

    public ArrayList<String> getCate_tag() {
        return cate_tag;
    }

    public String getInst_hfq_tag() {
        return inst_hfq_tag.equals("NONE") ? null : inst_hfq_tag;
    }

    @Override
    public String toString() {
        return "AppApkObject{"
                + "app_apk='"
                + app_apk
                + '\''
                + ", inst_h_part='"
                + inst_h_part
                + '\''
                + ", updt_h_part='"
                + updt_h_part
                + '\''
                + ", inst_day="
                + inst_day
                + ", inst_day_cmp_hfq="
                + inst_day_cmp_hfq
                + ", updt_day="
                + updt_day
                + ", inst_mth="
                + inst_mth
                + ", updt_mth="
                + updt_mth
                + ", cate_tag="
                + cate_tag
                + ", inst_hfq_tag='"
                + inst_hfq_tag
                + '\''
                + '}';
    }
}
